package com.housediyadmin.events.buildingEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/3
	 */	
	public class DeleteBuildingEvent extends Event
	{
		public static const DELETE_BUILDING:String = "deleteBuilding";
		
		public var buildingIds:Array;
		public var areaIds:Array;
		
		/**
		 *根据输入的一串楼盘Id，和区域Id；删除相对应的楼盘信息，并返回相对区域下的其他楼盘 
		 * @param type
		 * @param buildingIds
		 * @param areaIds
		 * 
		 */        
		public function DeleteBuildingEvent(type:String, buildingIds:Array, areaIds:Array)
		{
			super(type);
			this.buildingIds = buildingIds;
			this.areaIds = areaIds;
		}
		
		override public function clone():Event
		{
			return new DeleteBuildingEvent(type, buildingIds, areaIds);
		}
	}
}